<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-orientation" content="portrait">
    <title>享云管家</title>
    <link rel="stylesheet" href="../../styles/h5/reset.min.css"/>
    <link rel="stylesheet" href="../../styles/h5/errortankuang.css"/>
    <!--以上为公共css样式-->
    <link rel="stylesheet" href="../../styles/h5/index.css"/>

    <script charset="utf-8" type="text/javascript" src="../../scripts/h5/jquery-1.9.1.min.js"></script>
    <script charset="utf-8" type="text/javascript" src="../../scripts/h5/jquery.modal.js"></script>
    <!--以上为公共js文件-->
</head>
<body>
<div class="zz-top"></div>
<div class="zz-list">
    <ul>
        <li>
            <a href="javascript:;">
                <span class="zz-bank">提前结算服务费</span>
                <span class="zz-replace zz-replace-padding zz-settle-rate"></span>
            </a>
        </li>
    </ul>
</div>

</body>
<script charset="utf-8" type="text/javascript" src="../../scripts/h5/utils.js"></script>
<script charset="utf-8" type="text/javascript">
    var queryURLParameter = utils.queryURLParameter();
    var merId = queryURLParameter.merId;

    //初始化
    $.ajax({
        url: utils.ajaxUrl()+"h5/store/receiver/getAdvanceSettleProduct",
        data: {
            merId: merId
        },
        async: false,
        type: 'get',
        success: function (res) {
        	var res = JSON.parse(res);
        	console.log(res);
            if (res && res.retCode == '0000') {
                var feeValue = res.feeValue*100+"%";
                $(".zz-settle-rate").html(feeValue)
            } else {
                utils.newModalPrompt(res.retMsg);
            }
        }
    });
</script>
<script charset="utf-8" type="text/javascript" src="../../scripts/h5/index.js"></script>
<script charset="utf-8" type="text/javascript">

</script>
</html>